package cn.edu.lsnu.mbti.service;

import cn.edu.lsnu.mbti.dto.DepartmentDto;
import cn.edu.lsnu.mbti.entity.Department;
import cn.edu.lsnu.mbti.entity.vo.DepartmentVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface DepartmentService extends IService<Department> {

    //插叙院系信息
    List<Department> queryList();

    //展示推荐的学科
    List<DepartmentDto> selectDepartmentByRecommend(String userId);

    //vue后台管理分页查询学科列表
    Page<DepartmentDto> queryPageList(DepartmentVo departmentVo);

    //vue后台管理保存学科
    String saveDepartment(Department department);
}
